module.exports=  {
	throttle(time){
		let timer=null
		return function(callback){
			clearTimeout(timer)
			timer=setTimeout(() => {
				callback&&callback()
				// console.log(43434);
			}, time);
		}
	},
}

